From a77dbe3d883adb6232bd455ea3c3deb86a61ed50 Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Sun, 1 Mar 2026 02:37:51 +0100 Subject: [PATCH] st/entry: Fix clutter action leak when unsetting icon The name of the removed action did not match the added one anymore, effectively "leaking" an action whenever an icon was shown and hidden. This was primarily affecting the clear button in the shell search. Fixes: 0bf49afda ("Replace ClutterClickAction with new ClutterClickGesture") Part-of: --- src/st/st-entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-entry.c b/src/st/st-entry.c index cf13331b3..ce3e08be3 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -1292,7 +1292,7 @@ _st_entry_set_icon (StEntry *entry, { if (*icon) { - clutter_actor_remove_action_by_name (*icon, "entry-icon-action"); + clutter_actor_remove_action_by_name (*icon, "entry-icon-click-gesture"); clutter_actor_remove_child (CLUTTER_ACTOR (entry), *icon); *icon = NULL; } -- 2.39.5